<body class="body">
  <div class="container">
    <h2>重新发送解锁指令</h2>

    <%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
      <%= devise_error_messages! %>

      <div class="login">
        <%= f.email_field :email, autofocus: true,placeholder: "请输入邮箱" %>
      </div>
    <div class="login">
        <div class="actions">
          <%= f.submit "发送解锁指令" %>
        </div>
      <% end %>

      <%= render "devise/shared/links" %>
    </div>
  </div>
</body>
